Skip to content

Conversation

dario-piotrowicz
Copy link
Contributor

@dario-piotrowicz dario-piotrowicz commented Jan 2, 2025

Similarly to #193 I thought it'd be a nice touch if we created the wrangler.toml file for the user instead of telling them to create and populate it themselves 🙂


Related docs update: opennextjs/docs#45

Copy link

pkg-pr-new bot commented Jan 2, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@220

commit: 470f24b

Copy link

changeset-bot bot commented Jan 2, 2025

🦋 Changeset detected

Latest commit: 470f24b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

…ready present

remove unnecessary nullish operator
…ready present

create a jsonc file instead of a toml one and check existence of any wrangler config file
…ready present

add a comment for the cache kv binding
…ready present

fix broken logic and add way to opt out of wrangler config check
@dario-piotrowicz dario-piotrowicz requested a review from vicb January 2, 2025 16:56
Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dario-piotrowicz dario-piotrowicz changed the title create a wrangler.toml file for the user in case one is not already present create a wrangler config file for the user in case one is not already present (alongside ways to opt out of this) Jan 2, 2025
@dario-piotrowicz dario-piotrowicz merged commit 4b6a50b into main Jan 2, 2025
7 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/create-toml branch January 2, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants